<template>
 
<div class="layui-card"  v-bind:style="{ minHeight: minHeight }">
  <div class="layui-card-header">{{title}}</div>
  <div class="layui-card-body">
      <slot></slot>
  </div>
</div>

</template>

<script>
export default {
    props:{
        title:{
            default:'卡片面板'
        },
        minHeight:{
            default:'100px'
        }
    },
   mounted(){
    layui.element.init();
   }
}
</script>

<style lang="scss">

</style>
